const WECHAT_APPID = 'wx93a5f1a89b37327a' // AppId
const WECHAT_SECRER = '3afa884db4349b1fca261d140a45b338' // appsecret
const WECHAT_REDIRECT = '' // 回调地址

const ERROR_GETTING_USER_INFO = { message: "获取失败", code: -1 };
const SUCCESS_GETTING_INFO = { message: "获取成功", code: 0 };

const ERROR_ACCOUNT_NOT_EXIST = { message: "账号或密码错误,请确认", code: -1 };
const ERROR_ACCOUNT_DISABLED = { message: "当前账号被禁用,请联系管理员或客服", code: -1 };

const ERROR_PERMISSION_INSUFFICIENT = { message: "权限不足,请联系管理员", code: -1 };

 module.exports = {
    WECHAT_APPID,
    WECHAT_SECRER,
    WECHAT_REDIRECT,
    SUCCESS_GETTING_INFO, // 获取成功
    ERROR_GETTING_USER_INFO, // 获取失败
    ERROR_ACCOUNT_NOT_EXIST, // 账号或密码错误
    ERROR_ACCOUNT_DISABLED, // 账号被禁用
    ERROR_PERMISSION_INSUFFICIENT, // 权限不足
 }